#!/bin/bash
LOG_PATH=/home/robot/reports
VOLUMED_PATH=/home/robot/space
LOCAL_LOG_PATH=/home/ubuntu/workspace/logs/Space
LOCAL_CASE_PATH=/home/ubuntu/workspace/gpis-ratecube
POD=SPACE-$RANDOM
echo "Creating POD $POD"
echo "Creating Robot Container"
podman run --name rf-$POD \
--pod new:$POD -dt -P \
-v $LOCAL_CASE_PATH:$VOLUMED_PATH \
-v $LOCAL_LOG_PATH:$LOG_PATH \
docker.signintra.com/test-automation/ratecube/rf:latest
echo "VNC Ports for Robot Container"
podman port rf-$POD
